how to write ordered pairs